/**
 * 多个组件都会用到的方法
 */
export const currentUser = state => {
    console.log("getter-----", state.user)
    if (null == state.user.user) {
        return state.user.Name = ""
    }
    return state.user.user
}